@ECHO OFF

echo Add to registry
echo ---------------------------------------------------
REG ADD HKLM\Software\Presbeton /v DBName /t REG_SZ /d Presbeton /f
REG ADD HKLM\Software\Presbeton /v DBServer /t REG_SZ /d MICHAL-HP /f
rem REG ADD HKLM\Software\Presbeton /v DBServer /t REG_SZ /d MISIRNA /f
REG ADD HKLM\Software\Presbeton /v ReceivePort /t REG_DWORD /d 2000 /f
echo ---------------------------------------------------

REM The following directory is for .NET 2.0
set DOTNETFX2=%SystemRoot%\Microsoft.NET\Framework\v2.0.50727
set PATH=%PATH%;%DOTNETFX2%

echo Installing WindowsService...
echo ---------------------------------------------------
InstallUtil /i "Production service.exe"
echo ---------------------------------------------------
echo Done.